﻿
Imports Moca.Db.Attr

Namespace Db

	''' <summary>
	''' DaoUser データアクセスインタフェース
	''' </summary>
	''' <remarks></remarks>
	<Dao(Sys.C_CONNECTION_STRING, GetType(Impl.DaoUser))> _
	Public Interface IDaoUser

		''' <summary>
		''' 全ユーザー取得
		''' </summary>
		''' <returns></returns>
		''' <remarks></remarks>
		Function GetAll() As IList(Of UserEntity)

		''' <summary>
		''' ユーザー追加
		''' </summary>
		''' <param name="value"></param>
		''' <remarks></remarks>
		<Transaction()>
		Sub Add(ByVal value As UserEntity)

		''' <summary>
		''' ユーザー更新
		''' </summary>
		''' <param name="value"></param>
		''' <remarks></remarks>
		<Transaction()>
		Sub Upd(ByVal value As UserEntity)

		''' <summary>
		''' ユーザー削除
		''' </summary>
		''' <param name="value"></param>
		''' <remarks></remarks>
		<Transaction()>
		Sub Del(ByVal value As UserEntity)

	End Interface

End Namespace
